body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
/* 所有的a都不加下划线 */
a{
    text-decoration: none;
    color: #2eaae0;
}
div{
    box-sizing: border-box;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.search-index{
    /* 固定定位与父亲无关，以屏幕为准 */
    /* 这里有定位，那么margin:0 auto是无效的 */
    position: fixed;
    top: 0;
    left: 50%;
    display: flex;
    /* 固定的盒子必须有宽度 */
    -webkit-transform: translateX(-50%);
    transform: translatX(-50%);
    width: 100%;
    min-width: 320px;
    max-width: 540px;
    height: 44px;
    background-color: #F6F6F6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    z-index: 999;
}
.user{
    width: 44px;
    height: 44px;
    text-align: center;
    color: #2eaae0;
    font-size: 12px;
}
.search::before{
    content: "";
    /* display: block; */
    position: absolute;
    top: 0px;
    left: 3px;
    height: 15px;
    width: 15px;
    background: url('../images/sprite.png') -59px -279px;
    background-size: 104px auto;
    margin: 5px 5px;
}
.search{
    /* 水平0 垂直2像素 模糊4px */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    height: 26px;
    border: 1px solid #ccc;
    flex: 1;
    margin: 8px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #666;
    line-height: 24px;
    padding-left: 25px;
}
.user::before{
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background: url('../images/sprite.png') no-repeat -59px -193px;
    background-size: 104px auto;
    margin: 3px auto -2px;
}

.goback{
    position: fixed;
    right: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    /* background: url(../images/back.png)no-repeat; */
    background-size: 20px 20px;
    background-color: pink;
    z-index: 300;
}
.focus{
    overflow: hidden;
    position: relative;
    margin-top: 44px;
}
.focus ul{
    /* //给li清除浮动 */
    overflow: hidden;
    width: 500%;
    /* 百分比永远和父亲相关 */

    margin-left: -100%;
    /* background-color: pink; */
}
.focus li.current{
    width: 15px;
}
.focus li{
    float: left;
    width: 20%;
}
.focus li img{
    width: 100%;
}

.circle{
    position: absolute;
    top: 50px;
    right: -12px;
    width: 60px;
    height: 30px;
}

.circle li{
    /* float: left; */
    /* 在一行上可以选择inline-block */
    display: inline-block;
    width: 6px;
    height: 6px;
    /* border: 2px solid rgba(255, 255, 255, .5); */
    margin: 0 3px;
    background-color: #fff;
    /* 以上设置了8个小正方形 */
    /* 下面设置成圆 */
    border-radius: 2px;
    /* 鼠标经过显示小手 */
    cursor: pointer;
    list-style: none;
}
.local_nav{
    display: flex;
    height: 64px;
    background-color: #fff;
    margin: 3px 4px;
    border-radius: 8px;
}
.local_nav li{
    flex: 1;
}

.local_nav a{
    display: flex;
    flex-direction: column;
    align-items: center;

}

.local_nav span[class^="local-nav-icon"]{
    width: 32px;
    height: 32px;
    /* background-color: pink; */
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    margin-top: 8px;
    background-size: 32px auto;
}

.local_nav a .local-nav-icon2{
    background-position: 0 -32px;
}

.local_nav a .local-nav-icon3{
    background-position: 0 -64px;
}

.local_nav a .local-nav-icon4{
    background-position: 0 -96px;
}


.local_nav a .local-nav-icon4{
    background-position: 0 -128px;
} 
nav{
    overflow: hidden;
    display: flex;
    height: 270px;
    /* border: 1px solid #2eaae0; */
    border-radius: 8px;
    margin: 3px 4px;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
}
nav a{
    color: #fff;
    font-size: 14px;
}
.nav-common{
    display: flex;
    height: 88px;
    background-color: pink;
    /* border: 1px solid #ccc; */
}
.nav-common:nth-child(2) {
    margin: 3px 0;
}
.nav-items{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    flex: 1;
}
/* -n+2代表前两个 */
.nav-items:nth-child(-n+2){
    border-right: 1px solid #fff;
}
.nav-items:nth-child(1) a{
    border: 0;
}
.nav-items a{
    flex: 1;
    text-align: center;
    line-height: 44px;
    border-bottom: 1px solid #fff;
}
.nav-items:nth-child(1) a{
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
    /* background-size: 104px auto; */
}

.nav-common:nth-child(1){
    background: -webkit-linear-gradient(left,#FA5A55, #FA994D)
}
.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
}

.subnav{
    height: 128px;
    background-color: #fff;
    margin: 0 4px;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.subnav li{
    flex: 20%;
    /* background-color: pink; */
}

.subnav a{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;

}
.subnav span[class^='subnav-icon']{
    width: 28px;
    height: 28px;
    /* background-color: pink; */
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 28px auto;
}


.subnav a .subnav-icon2{
    background-position: 4px -28px;
    /* background-color: pink; */
}

.subnav li .subnav-icon3{
    background-position: 2px -64px;
    /* background-color: pink; */
}

.subnav li .subnav-icon4{
    background-position: 1px -100px;
    /* background-color: pink; */
}

.subnav li .subnav-icon5{
    background-position: 0 -130px;
    /* background-color: pink; */
}

.subnav li .subnav-icon6{
    background-position: 0 -160px;
}

.subnav li .subnav-icon7{
    background-position: 0 -194px;
}

.subnav li .subnav-icon8{
    background-position: 0 -225px;
}

.subnav li .subnav-icon9{
    background-position: 0 -258px;
}

.subnav li .subnav-icon10{
    background-position: 0 -286px;
}
.sales-box{
    margin-top: 10px;
    background-color: #fff;
    border-top: 1px solid #ccc;
}
.sales-hd{
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2{
    position: relative;
    text-indent: -999px;
    overflow: hidden;
    width: 100px;
}
.sales-hd h2::before{
    position: absolute;
    top:5px;
    left: 10px;
    content: "";
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px;
}

.sales-hd a{
    position: absolute;
    top: 0px;
    right: 10px;
    background: -webkit-linear-gradient(left,#ff4f66,#ff6bc6);
    border-radius: 12px;
    padding: 3px 20px 3px 10px;
    color: #fff;
}

.sales-hd a::after{
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.row{
    display: flex;
}
.row a{
    flex: 1;
}

.row a img{
    width: 100%;
}

.row a:nth-child(1){
    border-bottom: 1px solid #f6f6f6;
    border-right: 0.5px solid#f6f6f6;
}
.row a:nth-child(2){
    border-bottom: 1px solid#f6f6f6;
}